//
//  SCImagesContentView.h
//  Shuaiche
//
//  Created by 党帅 on 2019/9/5.
//  Copyright © 2019 ShuaiChe. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SCCarAddImageModel.h"

@protocol SCImagesContentViewDelegate <NSObject>

- (void)imageContentDelete;

- (void)imageContentShowBigImageIndex:(NSInteger)index;
@end

NS_ASSUME_NONNULL_BEGIN

@interface SCImagesContentView : UIView
@property (nonatomic, strong) NSMutableArray *dataSource;
@property(nonatomic, assign) BOOL canDeleteImage;

@property(nonatomic, assign) NSInteger rowNumber;
@property(nonatomic, assign) CGFloat itemWidth;
@property(nonatomic, assign) CGFloat lineSpace;
@property(nonatomic, assign) CGFloat itemSpace;

@property(nonatomic, weak) id<SCImagesContentViewDelegate> delegate;

- (void)cancelLoadCurrentImage;
@end

NS_ASSUME_NONNULL_END
